package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.model.knowledge.CoursewarePrivilege;

import java.util.List;

public interface CoursewarePrivilegeDAO {
    int deleteByPrimaryKey(Integer id);

    int deleteByCoursewareId(Integer coursewareId);

    int insert(CoursewarePrivilege record);

    int insertSelective(CoursewarePrivilege record);

    CoursewarePrivilege selectByPrimaryKey(Integer id);

    List<CoursewarePrivilege> selectByCoursewareId(Integer coursewareId);

    int updateByPrimaryKeySelective(CoursewarePrivilege record);

    int updateByPrimaryKey(CoursewarePrivilege record);
}